import { Injectable } from '@angular/core';
import { ServiceBasic } from 'src/kalend';
import { Http } from '@angular/http';

@Injectable()
export class WineService extends ServiceBasic {
  constructor(http: Http) {
    super('/wine', http);
  }
  query(doc: any) {
    return this.httppost(`/query`, doc);
  }
}
